<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>后盾问答</title>
	<meta name="keywords" content="后盾问答"/>
	<meta name="description" content="后盾问答"/>
	{hd include file="../Common/header.html"}
	<link rel="stylesheet" href="{hd $smarty.const.__PUBLIC__}/Css/list.css" />
    

	<div id='location'>
		<a href="{hd $smarty.const.__APP__}?c=List&cid=0">全部分类</a>
		{hd section loop=$fatherCate name=f}
            <!--判断是否是最后一个分类-->
		    {hd if $smarty.section.f.last}       
			&gt;&nbsp;{hd $fatherCate[f].title}&nbsp;&nbsp;
			{hd else}
			&gt;&nbsp;<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $fatherCate[f].cid}">{hd $fatherCate[f].title}</a>&nbsp;&nbsp;
			{hd /if}
		{hd /section}
	</div>

<!--------------------中部-------------------->
	<div id='center'>
		<div id='left'>
			<div id='cate-list'>
				<p class='title'>按分类查找</p>
				<ul>
				 {hd foreach from=$sonCate item=v}
					<li>
						<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $v.cid}">{hd $v.title}</a>
					</li>
				 {hd /foreach}
				</ul>
			</div>
			<div id='answer-list'>
				<ul class='ans-sel'>
					<li {hd if $smarty.get.w == 0}class="on"{hd /if}>
						<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $smarty.get.cid}&w=0">待解决问题</a>
					</li>
					<li {hd if $smarty.get.w == 1}class="on"{hd /if}>
						<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $smarty.get.cid}&w=1">已解决</a>
					</li>
					<li {hd if $smarty.get.w == 2}class="on"{hd /if}>
						<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $smarty.get.cid}&w=2">高悬赏</a>
					</li>
					<li {hd if $smarty.get.w == 3}class="on"{hd /if}>
						<a href="{hd $smarty.const.__APP__}?c=List&cid={hd $smarty.get.cid}&w=3">零回答</a>
					</li>
				</ul>
				<!-- 待解决问题 -->
				<table>
					<tr>
						<th class='t1'>标题</th>
						<th>回答数</th>
						<th>时间</th>
					</tr>
                     {hd foreach from=$askData item=v}   
						<tr>
							<td class='t1 cons'>
								<a href="">
									<b>{hd $v.reward}</b>{hd $v.content}</a>&nbsp;&nbsp;[{hd $v.title}]
							</td>
							<td>{hd $v.answer}</td>
							<td>{hd $v.time}</td>
						</tr>
		             {hd /foreach}
				</table>

			</div>
		</div>
       <!-- 右侧 -->
	  {hd include file="../Common/right.html"}
	</div>
</div>
<!-- ---右侧结束---- -->
		
	</div>
<!--------------------中部结束-------------------->

{hd include file="../Common/footer.html"}
</body>
</html>
<!-- 底部结束 -->